<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <#include  "../layout/header.ftl"/>
    <#include  "../layout/common.cssjs.ftl"/>
    <script type="text/javascript">

    </script>
</head>
<body>
<div class="app header-default side-nav-dark">
    <div class="layout">
        <div class="header navbar">
            <#include  "../layout/top.ftl"/>
        </div>

        <div class="col-md-3 sidebar-nav side-nav">
            <#include  "../layout/sidenav.ftl"/>
        </div>
        <div class="page-container">

            <div class="main-content">
                <div class="container-fluid">

                    <div class="breadcrumb-wrapper row">
                        <div class="col-12 col-lg-3 col-md-6">
                            <h4 class="page-title"><@locale code="navs.audit.synchronizer"/></h4>
                        </div>
                        <div class="col-12 col-lg-9 col-md-6">
                            <ol class="breadcrumb float-right">
                                <li><a href="<@base/>/main"><@locale code="navs.home"/></a></li>
                                <li class="inactive">/ <@locale code="navs.audit"/></li>
                                <li class="active">/ <@locale code="navs.audit.synchronizer"/></li>
                            </ol>
                        </div>
                    </div>

                </div>
                <div class="container-fluid">
                    <div class="content-wrapper row">
                        <div class="col-12 grid-margin">
                            <div class="card">
                                <div class="card-body">

                                    <div id="tool_box">
                                        <table class="table table-bordered">
                                            <tr>
                                                <td width="120px">
                                                    <@locale code="log.synchronizer.syncId"/>:
                                                </td>
                                                <td width="375px">
                                                    <form id="basic_search_form">
                                                        <input class="form-control" name="syncId" type="text"
                                                               style="width:150px;float:left;">
                                                        <input class="button btn btn-primary mr-3" id="searchBtn"
                                                               type="button" size="50"
                                                               value="<@locale code="button.text.search"/>">
                                                        <input class="button btn btn-secondary"
                                                               id="advancedSearchExpandBtn" type="button" size="50"
                                                               value="<@locale code="button.text.expandsearch"/>"
                                                               expandValue="<@locale code="button.text.expandsearch"/>"
                                                               collapseValue="<@locale code="button.text.collapsesearch"/>">
                                                    </form>
                                                </td>
                                                <td colspan="2">
                                                    <div id="tool_box_right">

                                                    </div>
                                                </td>
                                            </tr>
                                        </table>


                                    </div>

                                    <div id="advanced_search">
                                        <form id="advanced_search_form">
                                            <table class="table table-bordered">
                                                <tr>
                                                    <td width="120px"><@locale code="log.synchronizer.objectName"/></td>
                                                    <td width="360px">
                                                        <input class="form-control" name="objectName" type="text">
                                                    </td>
                                                    <td width="120px"><@locale code="log.synchronizer.result"/></td>
                                                    <td width="360px">
                                                        <input class="form-control" type="text" id="result"
                                                               name="result" title="" value=""/>
                                                    </td>

                                                </tr>
                                                <tr>
                                                    <td width="120px"><@locale code="common.text.startdate"/></td>
                                                    <td width="360px">
                                                        <input class="form-control datetimepicker" type="text"
                                                               id="startDate" name="startDate" title="" value=""/>
                                                    </td>
                                                    <td width="120px"><@locale code="common.text.enddate"/></td>
                                                    <td width="360px">
                                                        <input class="form-control datetimepicker" type="text"
                                                               id="endDate" name="endDate" title="" value=""/>
                                                    </td>

                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                    <table data-url="<@base />/historys/synchronizerHistoryList/grid"
                                           id="datagrid"
                                           data-toggle="table"
                                           data-classes="table table-bordered table-hover table-striped"
                                           data-pagination="true"
                                           data-total-field="records"
                                           data-page-list="[10, 25, 50, 100]"
                                           data-search="false"
                                           data-locale="zh-CN"
                                           data-query-params="dataGridQueryParams"
                                           data-query-params-type="pageSize"
                                           data-side-pagination="server">
                                        <thead>
                                        <tr>
                                            <th data-sortable="true" data-field="id"
                                                data-visible="false"><@locale code="log.synchronizer.id" /></th>
                                            <th data-field="syncId"><@locale code="log.synchronizer.syncId" /></th>
                                            <th data-field="syncName"><@locale    code="log.synchronizer.syncName" /></th>
                                            <th data-field="objectId"><@locale    code="log.synchronizer.objectId" /></th>
                                            <th data-field="objectType"><@locale    code="log.synchronizer.objectType" /></th>
                                            <th data-field="objectName"><@locale    code="log.synchronizer.objectName" /></th>
                                            <th data-field="syncTime"><@locale    code="log.synchronizer.syncTime" /></th>
                                            <th data-field="result"><@locale  code="log.synchronizer.result" /></th>
                                        </tr>
                                        </thead>
                                    </table>
                                </div>

                            </div>
                        </div>
                    </div>
                    <footer class="content-footer">
                        <#include  "../layout/footer.ftl"/>
                    </footer>

                </div>

            </div>
        </div>

        <div id="preloader">
            <div class="loader" id="loader-1"></div>
        </div>

</body>
</html>